package top.iridescent.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.iridescent.entity.model.res.RoleLs;
import top.iridescent.entity.model.res.RoleZb;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("mh_role")
public class MhRole implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private RoleLs ls=new RoleLs();
    @TableField(exist = false)
    private RoleZb zb=new RoleZb();

    @TableField(exist = false)
    private MhEquipmentInfo tou;
    @TableField(exist = false)
    private MhEquipmentInfo shi;
    @TableField(exist = false)
    private MhEquipmentInfo yao;
    @TableField(exist = false)
    private MhEquipmentInfo jia;
    @TableField(exist = false)
    private MhEquipmentInfo xie;
    @TableField(exist = false)
    private MhEquipmentInfo wu;

    @TableField(exist = false)
    private MhDecorationsInfo pei;
    @TableField(exist = false)
    private MhDecorationsInfo jie;
    @TableField(exist = false)
    private MhDecorationsInfo shou;
    @TableField(exist = false)
    private MhDecorationsInfo er;

    @TableField(exist = false)
    private MhBaseAttribute raceBaseAttr = new MhBaseAttribute();// 基础
    @TableField(exist = false)
    private MhBaseAttribute distributeBaseAttr = new MhBaseAttribute();
    // 分配
    @TableField(exist = false)
    private MhBaseAttribute equipmentBaseAttr = new MhBaseAttribute();

    @TableField(exist = false)
    private MhBaseAttribute otherBaseAttr = new MhBaseAttribute();

    @TableField(exist = false)
    private MhBaseAttribute totalBaseAttr = new MhBaseAttribute();

    @TableField(exist = false)
    private MhExpandAttribute baseExpandAttribute = MhExpandAttribute.getBase();
    @TableField(exist = false)
    private MhExpandAttribute attrLevelExpandAttribute = new MhExpandAttribute();
    @TableField(exist = false)
    private MhExpandAttribute attrDistributeExpandAttribute = new MhExpandAttribute();
    @TableField(exist = false)
    private MhExpandAttribute equipmentExpandAttribute = new MhExpandAttribute();
    @TableField(exist = false)
    private MhExpandAttribute decorationsExpandAttribute = new MhExpandAttribute();
    @TableField(exist = false)
    private MhExpandAttribute otherExpandAttribute = new MhExpandAttribute();
    @TableField(exist = false)
    private MhExpandAttribute totalExpandAttr = new MhExpandAttribute();

    @ApiModelProperty(value = "种族")
    @TableField(exist = false)
    private String raceName;
    @ApiModelProperty(value = "门派")
    @TableField(exist = false)
    private String sectName;

    @TableField(exist = false)
    @ApiModelProperty(value = "比例")
    private String attrProportion;
    /**
     * =========================================================
     */

    @TableId
    private Long id;
    private String account;
    private String password;
    private String roleName;
    private int race;
    private int sect;
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    private int level;
    private Long dan;
    private Long gongPractice;
    private Long fangPractice;
    private Long faPractice;
    private Long kangPractice;
    private Long xueSkill;
    private Long lanSkill;
    private Long tiSkill;
    private Long huoSkill;
    private Long cookSkill;
    private Long recoverXue;
    private Long recoverLan;

    /**
     * 2021-9-13新增潜能果数量
     */
    private Long fruitCounts;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 2021-9-23新增
     */

    private int sectSkill1;
    private int sectSkill2;
    private int sectSkill3;
    private int sectSkill4;
    private int sectSkill5;
    private int sectSkill6;
    private int sectSkill7;
}
